//
//  LatentCustomerCCell.h
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/5/5.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ScroDeleteCell.h"
#import "CustomerModel.h"
#import "LatentCustomerView.h"
@class LatentCustomerCCell;

@protocol LatentCustomerCCellDelegate <NSObject>
//点击了  转为真实客户

-(void)LatentCustomerCCellDidClickpotentialchangtorealWithModel:(CustomerModel *)model withCell:(LatentCustomerCCell *)cell;
//点击了 锁定按钮
-(void)LatentCustomerCCellDidClickLockBtnWithPotentialId:(NSString *) potentialId withCell:(LatentCustomerCCell *)cell;

//点击了编辑按钮
-(void)LatentCustomerCCellDidClickEditBtnWithModel:(CustomerModel *)model;
@end



@interface LatentCustomerCCell :ScroDeleteCell
@property (strong, nonatomic) CustomerModel *model;
@property (strong, nonatomic) LatentCustomerView *customerView;
@property (weak, nonatomic)  id<LatentCustomerCCellDelegate> btnDelegate;
@property (nonatomic,assign)Boolean isEditMode;

-(void)initWithTableView:(UITableView *)tableView withModel:(CustomerModel *)model;

@end



